SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].[DISC_CDS_RedemptionCodeGet]
	@Code varchar(8)
AS
BEGIN
	SELECT RedemptionCode, DownloadUrl, RequestID, DistOrderItemId, ExpDate
	FROM dbo.[DnnProduct_CDS_RedemptionCodes]
	WHERE [RedemptionCode] = @Code
END
GO
